package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouToken;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author grung
 * @Date 2020/10/24 11:07
 * @Version 1.0
 */

public interface LagouTokenDao extends JpaRepository<LagouToken,Long> {

    LagouToken findByEmail(String email);

    LagouToken findByToken(String token);
}
